OBJS = other.so \
			 widget.so \
			 layout.so \
			 widget_arg.so \
			 widget_resource.so \
			 widget_ind.so

INCLUDE  = -I$(QNX_TARGET)/usr/include/python2.5
CC       = ntox86-gcc $(INCLUDE)

all:$(patsubst %, ph_api_%, $(OBJS))

ph_api_%.so:%.c
	$(CC) -shared -o $@ $< -lph

.PHONY: clean
clean:
	rm *.so

